package com.it.sun.redismq.annotation;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @ClassName com.it.sun.redismq.annotation.MessageConsumer
 * @Author sun
 * @Date 2021/1/28 10:21
 * @Version V1.0
 * Description  <请输入一句话描述该类功能>
 * Copyright (C) xxxx  since 2021/1/28
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface MessageConsumer {
    @AliasFor(annotation = Component.class)
    String value() default "";
}